const env = process.env.NODE_ENV // 环境变量

let MYSQL_CONFIG = null

if (env === 'dev') {
  MYSQL_CONFIG = {
    host: '180.76.224.207',
    port: '3306',
    user: 'root',
    password: '764948814Jin.',
    database: 'my_blog'
  }
}

if (env === 'production') {
  MYSQL_CONFIG = {
    host: '180.76.224.207',
    port: '3306',
    user: 'root',
    password: '764948814Jin.',
    database: 'my_blog'
  }
}

module.exports = {
  MYSQL_CONFIG
}
